struct Solution;

impl Solution {
    pub fn find_repeat_number(nums:Vec<i32>) -> i32 {
        //TODO:
        return nums[0];
    }
}


pub fn main(){
    println!("\t Offer 3: find_repeat_number");
    
    let v = vec![2, 3, 1, 0, 2, 4, 3];
    assert_eq!(2, Solution::find_repeat_number(v));
}
